package com.mvp.shq.washer.entity.shop.result;

import com.mvp.shq.washer.entity.result.BaseResult;
import com.mvp.shq.washer.entity.shop.Product;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/10/11.
 */

public class OrderResult implements Serializable {

    /**
     * msg : 消息
     * code : 代码
     * error : 是否错误
     * timestamp：时间戳
     * data:商品信息
     */

    private String msg;
    private int code;
    private boolean error;
    private double timestamp;
    private OrderDataResult data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    public double getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(double timestamp) {
        this.timestamp = timestamp;
    }

    public OrderDataResult getData() {
        return data;
    }

    public void setData(OrderDataResult data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "OrderResult{" +
                "msg='" + msg + '\'' +
                ", code=" + code +
                ", error=" + error +
                ", timestamp=" + timestamp +
                ", data=" + data +
                '}';
    }
}
